package com.ygsoft.tianlu_mall.mapper;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SearchMapper {

    List<String> getTop5Hotword();

    List<String> checkHotwordIsExist();

    void insertHotword(String search_content);

    void updateHotwordCount(String search_content);

    List<Map<String,Object>> getGoodsDetailByLike(String search_content);

    List<Map<String, Object>> getGoodsDetailByLikeInShop(HashMap<String,Object> map);

    List<Integer> getGoodsIdBySearchContent(String search_content);

    List<Integer> getGoodsIdByShopIdAndSearchContent(HashMap<String, Object> map);
}